<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-text&html</title>
</head>
<body>

    <div id="app">
        我的名字是:<span v-text="name"></span><br/>
        我的年龄是:<span v-text="age"></span><br/>
        我的描述是:<span v-text="desc"></span><br/>
        我的描述是:<span v-html="desc"></span><br/>
    </div>


<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let app = new Vue({
            el: "#app",
            data:{
                name:"刘德华",
                age:50,
                desc:"<h3>我的自我描述，哈哈哈</h3>"
            }

        })
    ;
</script>
</body>
</html>